package com.zis.system.dao;

import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.annotatoin.SqlStatement;
import org.beetl.sql.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import com.zis.system.model.User;

@Repository
@SqlResource(value = "system.user")
public interface UserDao extends BaseMapper<User> {

    @SqlStatement(params = "loginName")
    User findByLoginName(String loginName);
}
